import serve from '@/utils/serve'
import request from '@/utils/request'
export function getAtorageList(params) {
  return serve({
    url: '/outbound/pageDetail',
    params
  })
}

export function getPageAtorageList(params) {
  return serve({
    url: '/outboundList/pageDetail',
    params
  })
}

export function getGoodsList(id) {
  return serve({
    url: `/outbound/detail/${id}`

  })
}
export function getSearchList(params) {
  return serve({
    url: '/outbound/pageDetail',
    params
  })
}

export function getGoodFrom() {
  return request({
    url: '/codeFactory/next/HP'
  })
}

export function getAreaId(id) {
  return request({
    url: `/owner/list/${id}`
  })
}

